import fs from 'fs'
// 创建一个目录
export function createDirIfNotExist(dirPath: string) {
  if (!fs.existsSync(dirPath)) {
    fs.mkdirSync(dirPath, { recursive: true })
  } else {
    return undefined
  }
}
